﻿using D.Traceability.ErrorCode;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;




namespace D.Traceability.Domain
{
    /// <summary>
    /// 图片信息表
    /// </summary>
    [Table("SU_PictureModel")]
    public class SU_PictureModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int PictureId { get; set; }

        /// <summary>
        /// 图片地址
        /// </summary>
        public string? Url { get; set; }

        /// <summary>
        /// 图片类型
        /// </summary>
        public PictureTypes PTyper {  get; set; }


        /// <summary>
        /// 溯源生产批次  
        /// </summary>
        public string? TraceaBatch { get; set; }


        /// <summary>
        /// 逻辑删除 false 未删除  true 删除
        /// </summary>
        public bool TraceaIsDelete { get; set; }



    }
}
